import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Home from '@/components/Home'
import Shouye from '@/components/Shouye'
import Show from '@/mobile/Show'
import mobileShouye from '@/mobile/mobileShouye'
import Showpc from '@/components/Showpc'
import news from '@/components/news'
Vue.use(Router)

var router= new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path:'/login',
      name:'Home',
      component:Home
    },
    {
      path:'/shouye',
      name:'Shouye',
      component:Shouye
    },
    {
      path:'/news',
      name:'news',
      component:news
    },
    {
      path:'/Show',
      name:"Show",
      component:Show
    },
    {
      path:'/mobileShouye',
      name:"mobileShouye",
      component:mobileShouye
    },
  
    {
      path:'/Showpc',
      name:"Showpc",
      component:Showpc
    }
  ]

})


export default router

